package com.prothink.service.impl;


import com.prothink.dao.CourseLikesDao;
import com.prothink.entity.CourseLikes;
import com.prothink.service.CourseLikesService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class CourseLikesServiceMpl implements CourseLikesService {
    @Autowired
    private CourseLikesDao courseLikesDao;


    @Override
    public List getCourseLike(CourseLikes courseLikes) {
        return courseLikesDao.getCourseLike(courseLikes);
    }

    @Override
    public Integer addCourseLike(CourseLikes courseLikes) {
        return courseLikesDao.addCourseLike(courseLikes);
    }
}
